﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ATMMachine
{
    class ATM
    {
       

        static void Main(string[] args)
        {
            menu();
        }
        private static void menu()
        {
            int selection = 1;
            Console.ForegroundColor = ConsoleColor.Red;
            Console.WriteLine("--------------------------------------------------------------------------------");
            Console.WriteLine("                       WELCOME TO THE PHREEBIRD ATM SYSTEM.");
            Console.WriteLine("                             PLEASE MAKE A SELECTION");
            Console.WriteLine("                          1. Open a Account");
            Console.WriteLine("                          2. Withdraw Money");
            Console.WriteLine("                          3. Deposit Money");
            Console.WriteLine("                          4. Admin\n");
            Console.WriteLine("--------------------------------------------------------------------------------");
            Console.Write("Selection: ");            
            while (selection != 5)
            {
                selection = InputMan.getInt();
                switch (selection)
                    {
                        case 1:
                            openAccount();
                            break;
                        case 2:
                            withDraw();
                            break;
                        case 3:
                            deposit();
                            break;
                        case 4:
                            admin();
                            break;
                        default:
                            Console.WriteLine("Please try again.");
                            break;
                    }
                Console.Write("Selection: ");
            }                       
                
        }
        private static void openAccount()
        {
            //
        }
        private static void withDraw()
        {
            //
        }
        private static void deposit()
        {
            //
        }
        private static void admin()
        {
            //
        }                   
    }
}
